package com.ruoyi.food.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ruoyi.food.object.TAttach;

public interface TAttachService {
	public void save(List<TAttach> tAttachs);
	/**
	 * 通过关联id与关联表查询文件
	 * @param attFkId
	 * @param attFkName
	 * @return
	 */
	public List<TAttach> findTAttachByFK(long attFkId,String attFkName);
	
	/**
	 * 删除附件
	 * @param attId
	 */
	public void deleteTAttachById(List<Long> attIds);
	
	/**
	 * 设置餐饮企业logo
	 * @param attId
	 * @param enterpriseId
	 */
	public void setLogo(long attId,long enterpriseId);

}
